<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>pyswap: xmltools::XmlDevice::XmlDevice Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="panStamp_web.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">pyswap
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>xmltools</b>      </li>
      <li class="navelem"><b>XmlDevice</b>      </li>
      <li class="navelem"><a class="el" href="classxmltools_1_1XmlDevice_1_1XmlDevice.html">XmlDevice</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">xmltools::XmlDevice::XmlDevice Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="xmltools::XmlDevice::XmlDevice" -->
<p>Device configuration settings.  
 <a href="classxmltools_1_1XmlDevice_1_1XmlDevice.html#details">More...</a></p>

<p><a href="classxmltools_1_1XmlDevice_1_1XmlDevice-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a91c9f7476984b75a5e34d141a35b88c1"></a><!-- doxytag: member="xmltools::XmlDevice::XmlDevice::getDefinition" ref="a91c9f7476984b75a5e34d141a35b88c1" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmltools_1_1XmlDevice_1_1XmlDevice.html#a91c9f7476984b75a5e34d141a35b88c1">getDefinition</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Read current configuration file. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmltools_1_1XmlDevice_1_1XmlDevice.html#afc0af88180fd42c3ecb82cbfbcb1494d">getRegList</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return list of registers.  <a href="#afc0af88180fd42c3ecb82cbfbcb1494d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmltools_1_1XmlDevice_1_1XmlDevice.html#abdea64652abc53c337d0fbcacc941683">__init__</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Class constructor.  <a href="#abdea64652abc53c337d0fbcacc941683"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9e58896407b8ce6a858458bc369be8b5"></a><!-- doxytag: member="xmltools::XmlDevice::XmlDevice::manufacturer" ref="a9e58896407b8ce6a858458bc369be8b5" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmltools_1_1XmlDevice_1_1XmlDevice.html#a9e58896407b8ce6a858458bc369be8b5">manufacturer</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Name of the Manufacturer. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa8d732e08b8cae7e78801577b380a8ac"></a><!-- doxytag: member="xmltools::XmlDevice::XmlDevice::product" ref="aa8d732e08b8cae7e78801577b380a8ac" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmltools_1_1XmlDevice_1_1XmlDevice.html#aa8d732e08b8cae7e78801577b380a8ac">product</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Name of the Product. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmltools_1_1XmlDevice_1_1XmlDevice.html#a6b775ba87c471ed948265e9250a758cc">pwrdownmode</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Power down mode (True or False).  <a href="#a6b775ba87c471ed948265e9250a758cc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmltools_1_1XmlDevice_1_1XmlDevice.html#a78754039312bd43ff6464154d36e24d1">txinterval</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Interval (in sec) between periodic transmissions.  <a href="#a78754039312bd43ff6464154d36e24d1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a58f4262b2e6694f05410360149b9cb20"></a><!-- doxytag: member="xmltools::XmlDevice::XmlDevice::mote" ref="a58f4262b2e6694f05410360149b9cb20" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmltools_1_1XmlDevice_1_1XmlDevice.html#a58f4262b2e6694f05410360149b9cb20">mote</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Device (mote) <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7c1b09b811ff5fbd49c06337c07b7d4f"></a><!-- doxytag: member="xmltools::XmlDevice::XmlDevice::fileName" ref="a7c1b09b811ff5fbd49c06337c07b7d4f" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmltools_1_1XmlDevice_1_1XmlDevice.html#a7c1b09b811ff5fbd49c06337c07b7d4f">fileName</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Name/path of the current configuration file. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Device configuration settings. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="abdea64652abc53c337d0fbcacc941683"></a><!-- doxytag: member="xmltools::XmlDevice::XmlDevice::__init__" ref="abdea64652abc53c337d0fbcacc941683" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def xmltools::XmlDevice::XmlDevice::__init__ </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>mote</em> = <code>None</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>manufId</em> = <code>None</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>prodId</em> = <code>None</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Class constructor. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">mote,:</td><td>Real mote object </td></tr>
    <tr><td class="paramname">manufId,:</td><td>Manufacturer ID </td></tr>
    <tr><td class="paramname">prodId,:</td><td>Product ID </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="afc0af88180fd42c3ecb82cbfbcb1494d"></a><!-- doxytag: member="xmltools::XmlDevice::XmlDevice::getRegList" ref="afc0af88180fd42c3ecb82cbfbcb1494d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def xmltools::XmlDevice::XmlDevice::getRegList </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>config</em> = <code>False</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return list of registers. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">config,:</td><td>Set to True if Configuration register are required. False for regular ones</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>List of registers </dd></dl>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a6b775ba87c471ed948265e9250a758cc"></a><!-- doxytag: member="xmltools::XmlDevice::XmlDevice::pwrdownmode" ref="a6b775ba87c471ed948265e9250a758cc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classxmltools_1_1XmlDevice_1_1XmlDevice.html#a6b775ba87c471ed948265e9250a758cc">xmltools::XmlDevice::XmlDevice::pwrdownmode</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Power down mode (True or False). </p>
<p>If True, the mote sleeps most of the times </p>

</div>
</div>
<a class="anchor" id="a78754039312bd43ff6464154d36e24d1"></a><!-- doxytag: member="xmltools::XmlDevice::XmlDevice::txinterval" ref="a78754039312bd43ff6464154d36e24d1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classxmltools_1_1XmlDevice_1_1XmlDevice.html#a78754039312bd43ff6464154d36e24d1">xmltools::XmlDevice::XmlDevice::txinterval</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Interval (in sec) between periodic transmissions. </p>
<p>0 for disabled </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/daniel/development/Aptana/pyswap/src/xmltools/XmlDevice.py</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Fri Dec 9 2011 16:23:28 for pyswap by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
